.ant-menu-inline-collapsed>.ant-menu-item,
.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,
.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title {
  padding: 0 32px !important;
}

.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon>span {
  max-width: 0;
  display: inline-block;
  opacity: 0;
}

.ant-menu-submenu-title .anticon>span {
  transition: opacity .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1);
  opacity: 1;
}